#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_TreasureMap.nanopb.h"
#ifndef MAX_TREASUREMAP_TREASUREMAPTREASURE_NUM
#define MAX_TREASUREMAP_TREASUREMAPTREASURE_NUM 112
#endif

class TreasureMapTreasureDesc : public NFI_DESC_TEMPLATE_MACRO(TreasureMapTreasureDesc, E_TreasureMapTreasure, EOT_CONST_TREASUREMAP_TREASUREMAPTREASURE_DESC_ID, MAX_TREASUREMAP_TREASUREMAPTREASURE_NUM)
public:
	TreasureMapTreasureDesc();
	virtual ~TreasureMapTreasureDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
